package com.zw.yzk.kabu.data.network.task;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

/**
 * Created by zhanwei on 2017/3/12.
 */

public class AddShippingAddressTask extends Task {
    @Expose
    @SerializedName("receiver_name")
    public String receiverName;
    @Expose
    @SerializedName("receiver_phone")
    public String receiverPhone;
    @Expose
    @SerializedName("province")
    public String province;
    @Expose
    @SerializedName("city")
    public String city;
    @Expose
    @SerializedName("district")
    public String district;
    @Expose
    @SerializedName("address")
    public String address;
    @Expose
    @SerializedName("is_default")
    public int isDefault;//是否为默认地址，0-否 1-是,默认为0

    public AddShippingAddressTask(String receiverName, String receiverPhone, String province, String city, String district, String address) {
        this.receiverName = receiverName;
        this.receiverPhone = receiverPhone;
        this.province = province;
        this.city = city;
        this.district = district;
        this.address = address;
        this.isDefault = 0;
    }
}
